<?php

namespace App\Http\Controllers\Api\V1;

use Carbon\Carbon;
use App\Models\TestTopic;
use Illuminate\Support\Facades\Redis;
use App\Http\Controllers\Api\V1\Resources\TestTopicResource;
use Rainsens\Dinglog\Facades\Dinglog;
use Illuminate\Support\Facades\DB;

class TestsController extends Controller
{
    public function index()
    {
       $res = TestTopic::query()->get();
       return TestTopicResource::collection($res);

    }

    
}
